Laya Tool Router

The DSH plugin Laya Tool Router implements lazy tool discovery by hiding 26 tool modes and using a three-stage decision process (lexical ranking, decision request, and confidence check). This approach reduces prefill tokens from 6,559 to 283, significantly lowering first-token latency. The plugin requires DSH 0.2.0-rc.2 and `pnpm`, with a local Laya endpoint configured. After installation, enable the `no-prefill` preset; exact-name requests can skip the decision process.

Read More